package com.zzzyh.forumsystemclient.services.impl;

import com.zzzyh.forumsystemclient.dao.SysConfigMapper;
import com.zzzyh.forumsystemclient.model.SysConfig;
import com.zzzyh.forumsystemclient.services.ISysConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysConfigServiceImpl implements ISysConfigService {
    @Autowired
    private SysConfigMapper sysConfigMapper;
    @Override
    public SysConfig selectConfigByKey(String key) {
        return sysConfigMapper.selectConfigByKey(key);
    }
}
